<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link href="ElementUI/index.css" rel="stylesheet"/>

</head>
<body>

<div id="app">
    <el-pagination
            @current-change="handleCurrentChange"
            :current-page="currentPage"
            :page-sizes="pageSize"
            layout="total,  prev, pager, next, jumper"
            :total="total">
    </el-pagination>

</div>
<script src="ElementUI/vue.js"></script>
<script src="ElementUI/index.js"></script>
<script>
    new Vue({
        el: "#app",//vue要控制的区域
        data:{
            currentPage:1,
            pageSize:20,
            total:120,
        },
        methods:{
            handleCurrentChange(currentPage) {

            }

        },
        created() {

        }
    })
</script>
</body>
</html>

